<script setup>
  import { useRouter } from 'vue-router';
  import { reactive, onMounted } from 'vue';

  const props = defineProps({});

  const data = reactive({});

  const router = useRouter();

  function onClick() {
    router.push({ name: 'shangcheng' });
  }

  function onClick_1() {
    router.push({ name: 'ziyuan' });
  }
</script>

<template>
  <div class="flex-col page">
    <div class="flex-col header">
      <div class="flex-row justify-between group">
        <div class="flex-col justify-start items-center self-center text-wrapper"><span class="text">9:41</span></div>
        <div class="flex-row self-start group_2">
          <img class="image_3" src="../../assets/ec0aa6ee63f1692289b8045925cd2d44.png" />
          <img class="image ml-5" src="../../assets/0fd0544e6950c004f8cdf8b05976c365.png" />
          <img class="image_2 ml-5" src="../../assets/669d627582fa4878fea674954a700803.png" />
        </div>
      </div>
      <div class="mt-24 flex-col justify-start items-center relative section">
        <img class="image_4" src="../../assets/8c02f61c85b9284a3185c132fe43edc8.png" />
        <img class="image_5 pos" src="../../assets/62385e3a062f0b666ccbdfebce1c1830.png" />
        <span class="text_2 pos_2">选择您要去往的目的地</span>
      </div>
    </div>
    <div class="flex-col justify-start flex-1 group_3">
      <div class="flex-row equal-division">
        <div class="flex-col items-center group_4 group_1">
          <img class="image_5" src="../../assets/97e3a0723e0bcbe31131c53ab76f7abf.png" />
          <span class="mt-2 font text_3">地图</span>
        </div>
        <div class="flex-col items-center group_4 group_5">
          <img class="image_5" src="../../assets/6a1ef7685412a174038f1ae562d90f83.png" @click="onClick" />
          <span class="mt-2 font text_4">商城</span>
        </div>
        <div class="flex-col items-center group_4 group_6">
          <img class="image_5" src="../../assets/5093e39a27a7557fdbb60799e7a08c72.png" @click="onClick_1" />
          <span class="mt-2 font text_5">旅游</span>
        </div>
      </div>
    </div>
  </div>
</template>

<style scoped lang="css">
  .ml-5 {
    margin-left: 5px;
  }
  .page {
    background-color: #ffffff;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    height: 100%;
  }
  .header {
    padding-left: 17px;
    padding-right: 13.5px;
    height: 100px;
  }
  .group {
    padding: 7.5px 0 7.5px 5px;
  }
  .text-wrapper {
    padding-top: 12px;
    background-color: #ffffff;
    width: 54px;
    height: 21px;
  }
  .text {
    color: #000000;
    font-size: 15px;
    font-family: AlibabaPuHuiTi;
    line-height: 8.5px;
  }
  .group_2 {
    margin-top: 10px;
  }
  .image_3 {
    width: 17px;
    height: 11px;
  }
  .image {
    width: 15px;
    height: 11px;
  }
  .image_2 {
    width: 24px;
    height: 11.5px;
  }
  .section {
    margin-right: 1.5px;
    padding: 2px 0;
    filter: drop-shadow(0px 2px 4px #894f271f);
    backdrop-filter: blur(10px);
    background-image: url('../../assets/060e1c0d32daa3db1c0300c7d22caefa.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
  }
  .image_4 {
    opacity: 0.24;
    width: 90.4vw;
    height: 9.6vw;
  }
  .image_5 {
    width: 24px;
    height: 24px;
  }
  .pos {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
  }
  .text_2 {
    color: #d79458;
    font-size: 14px;
    font-family: SourceHanSerifCN;
    line-height: 13px;
    opacity: 0.6;
  }
  .pos_2 {
    position: absolute;
    left: 49.5px;
    top: 50%;
    transform: translateY(-50%);
  }
  .group_3 {
    padding-top: 628px;
    overflow-y: auto;
  }
  .equal-division {
    padding: 4.5px 7.5px 1.5px;
    background-color: #ffffff;
    box-shadow: 0px 0.5px 0px #e6e6e6 inset;
    backdrop-filter: blur(10px);
  }
  .group_4 {
    flex: 1 1 119.5px;
  }
  .group_1 {
    padding: 3.5px 0 7px;
  }
  .font {
    font-size: 10px;
    font-family: SourceHanSerifCN;
    line-height: 9px;
    color: #b0b0b2;
  }
  .text_3 {
    color: #d79458;
  }
  .group_5 {
    padding: 3.5px 0 7px;
  }
  .text_4 {
    line-height: 9.5px;
  }
  .group_6 {
    padding: 3.5px 0 6.5px;
  }
  .text_5 {
    line-height: 9px;
  }
</style>